<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<div class="modal fade" id="addTag" style="display: none; " data-backdrop="static" >
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button class="close" data-dismiss="modal">
					<span class="fui-cross"></span>
				</button>
				<h4 class="modal-title" id="myModalLabel">
					<!--标题-->
					添加标签
				</h4>
			</div>
			<div class="modal-body">
				<!--在这里添加一些文本-->
				<form action="addTag.do" method="post" id="" accept-charset="utf-8" class="form-horizontal" >
					<div class="control-group">
						<label class="control-label">标签名<span class="">*</span></label>
						<div class="controls">
							<input name="tagName" data-required="1" required="required" class="" type="text">
						</div>
					</div>
					<div class="control-group">
						<label class="control-label">描述<span class="">*</span></label>
						<div class="controls">
							<input name="tagDisc" data-required="1"  required="required" class="" type="text">
						</div>
					</div>
					<div class="form-actions">
						<button type="submit" class="btn purple">提交</button>
						<button type="reset" class="btn">重置</button>
					</div>
				</form>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">关闭
				</button>
			</div>
		</div>
	</div>
</div>
<!--模态框（Modal） end-->

<!-- 
	编辑模态框（Modal）begin 
-->
<div class="modal fade" id="updateTag" style="display: none; "data-backdrop="static">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button class="close" data-dismiss="modal">
						<span class="fui-cross"></span>
				</button>
				<h4 class="modal-title" id="myModalLabel">
					<!--标题-->
					编辑标签
				</h4>
			</div>
			<div class="modal-body">
				<!--在这里添加一些文本-->
				<form action="updateTag.do" method="post" id="" accept-charset="utf-8" class="form-horizontal" >
					<div class="control-group">
						
						<div class="controls">
							<input name="id" id="tagId" value="" data-required="1" class="tagId" type="hidden" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label">主题名<span class="">*</span></label>
						<div class="controls">
							<input name="tagName" id="tagName" value="" required="required" data-required="1" class="tagName" type="text" />
						</div>
					</div>
					<div class="control-group">
						<label class="control-label">描述<span class="">*</span></label>
						<div class="controls">
							<input name="tagDisc" id="tagDisc"  value="" required="required" data-required="1" class="tagDisc" type="text">
						</div>
					</div>
					<div class="form-actions">
						<button type="submit" class="btn purple">提交</button>
						<button type="reset" class="btn">重置</button>
					</div>
				</form>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">关闭
				</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
<!--模态框（Modal） end-->